package com.gitee.neuray.security.admin.util.wechat.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

public class AccessToken implements Serializable {

    private static final long serialVersionUID = 1L;

    private String accessToken;

	private int expiresIn;
	
	private long time;

	private String errmsg;

	private String errcode;

	@JSONField(name = "access_token")
	public String getAccessToken() {
		return accessToken;
	}
	@JSONField(name = "access_token")
	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}
	@JSONField(name = "expires_in")
	public int getExpiresIn() {
		return expiresIn;
	}
	@JSONField(name = "expires_in")
	public void setExpiresIn(int expiresIn) {
		this.expiresIn = expiresIn;
	}
	
    public long getTime() {
        return time;
    }
    
    public void setTime(long time) {
        this.time = time;
    }

	public String getErrmsg() {
		return errmsg;
	}

	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}

	public String getErrcode() {
		return errcode;
	}

	public void setErrcode(String errcode) {
		this.errcode = errcode;
	}
}